# -*- coding:UTF-8 -*-
"""
@Project : pythonProject
@File    : login_chick.py
@IDE     : PyCharm
@Author  : WorldWind(1772830365@qq.com)
@Address : China - HeiLongjiang - Herbin
@Date    : 2025/7/15 下午4:04
"""


class LoginCheck:
    def __init__(self):
        print(f'This is __init__ method. {self.get_class_name()} class startup')

    def checkUserLogin(self):
        # 检查是否登录
        # 如果登录返回success,如果没有登录,返回fail
        return 'success'

    @classmethod
    def get_class_name(cls):
        return cls.__name__

    def __del__(self):
        print(f'This is __del__ method. The {self.get_class_name()} class has been recycled')
